package Tread;

public class Example1_Thread {
    public static void main(String[] args) throws InterruptedException {
        A a=new A();
        a.start();
        Thread.sleep(1000);
    }
}

class A extends Thread {
    @Override
    public void run() {
        System.out.println("魏楷佳 is a pig");
    }
}
